package com.fzu.ess.ess.entity;

import com.fzu.ess.common.entity.BaseEntity;
import com.fzu.ess.sys.entity.User;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by ercha on 2015/10/24.
 */
@Entity
@Data
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="ess_language")
public class Language extends BaseEntity {
    public Language(){ super(); }

    public Language(String id){
        super();
        this.id = id;
    }

    @Column(name="name")
    private String name;            //语言名

}
